
import safety from '../../../api/config/safety'
// const 声明 一个常量才不会导致每次刷新会改变 store 的值
const state = {
}
export default {
  state,
  getters: {
    safety: () => 'safatyConfig'
  },
  actions: {
    saveLoginCheck ({state, commit}, data) {
      return safety.saveLoginCheck(data)
        .then(() => {
          commit('CHANGE_SESSION_ACOUNT', data)
        })
    }
  }
}
